package com.gok.einvoice.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gok.einvoice.common.annotation.Excel;
import com.gok.einvoice.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 出租车发票对象 taxi_invoice
 * 
 * @author ruoyi
 * @date 2025-01-24
 */
@Data
public class TaxiInvoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 发票代码 */
    @Excel(name = "发票代码")
    private String invoiceCode;

    /** 发票号码 */
    @Excel(name = "发票号码")
    private String invoiceNumber;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String taxiNum;

    /** 乘车日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "乘车日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 金额 */
    @Excel(name = "金额")
    private Double totalFare;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

}
